package com.meida.module.bus.client.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 月报
 *
 * @author flyme
 * @date 2020-11-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_report")
@TableAlias("report")
@ApiModel(value = "BusReport对象", description = "月报")
public class BusReport extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "reportId", type = IdType.ID_WORKER)
    private Long reportId;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "工程包代码")
    private String packageNo;

    @ApiModelProperty(value = "专业代码")
    private String majorCode;

    @ApiModelProperty(value = "材料ID")
    private Long materialId;

    @ApiModelProperty(value = "版本固定值100 200")
    private String ver;

    @ApiModelProperty(value = "分包商")
    private Long supplierId;

    @ApiModelProperty(value = "（1指100版本，2指200版本）")
    private Integer reportType;

    @ApiModelProperty(value = "申报数量")
    private BigDecimal declareQuantity;

    @ApiModelProperty(value = "确认数量")
    private BigDecimal confirmQuantity;

    @ApiModelProperty(value = "填报月份")
    private String reportMonth;

    @ApiModelProperty(value = "填报人")
    private Long userId;

    @ApiModelProperty(value = "srm同步标识 0 未同步 1 已同步")
    private String syncSrm;

    @ApiModelProperty(value = "审批状态")
    private int auditState;

}
